Skip to content

Add client_secret to OAuth2PKCEAuth instance#52

Open
w3Abhishek wants to merge 1 commit intoxdevplatform:mainfrom
w3Abhishek:patch-1
Open

Add client_secret to OAuth2PKCEAuth instance#52
w3Abhishek wants to merge 1 commit intoxdevplatform:mainfrom
w3Abhishek:patch-1

Conversation

@w3Abhishek
Copy link

client_secret is required for working with OAuth 2.0 in X API. Without it you'll get the following error when calling fetch_token() function:

ValueError: HTTP error! status: 401, body: {'error': 'unauthorized_client', 'error_description': 'Missing valid authorization header'}

client_secret is required for working with OAuth 2.0 in X API. Without it you'll get the following error when calling fetch_token() function:

ValueError: HTTP error! status: 401, body: {'error': 'unauthorized_client', 'error_description': 'Missing valid authorization header'}

Signed-off-by: Abhishek Verma <40134208+w3Abhishek@users.noreply.github.com>
@CLAassistant
Copy link

CLAassistant commented Dec 25, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants